package com.baolai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("货架")
@TableName("shelf")
public class Shelf extends Model<Shelf> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("货架编码")
    @TableId(type = IdType.INPUT)
    private Integer id;

    @ApiModelProperty("货架层数")
    private Integer count;

}
